package com.guli.ware.feign;

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Author zzb
 * @Date 2024/5/31 16:38
 * @Version 1.0
 * @description
 */
@Repository
@FeignClient("product-service")
public interface ProductFeignService {

    @GetMapping("/info/{skuId}")
    public R skuInfo(@PathVariable("skuId") Long skuId);

}
